<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title><?php echo C('SITE_INFO.name');?></title>
<script type="text/javascript" src="__PUBLIC__/scripts/jquery-1.7.2.min.js"></script>
<link href="__PUBLIC__/Catalog/css/common.css" rel="stylesheet" type="text/css" />

<link href="__PUBLIC__/Catalog/css/addAdress.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="main">
   <div class="title">
         <div class="title1">
             <a href="manage.html" id="back"> < </a>新增地址
         </div>
   </div>
   <div class="reg">
        <div class="reg2">
        	<form action="<?php echo U('Membership/address');?>" method="post">
        	<input type="hidden" name="back" value="<?php echo ($back); ?>"/>
        	<input type="hidden" name="orderid" value="<?php echo ($orderid); ?>"/>
        		<ul>
	               <li><span class="sp_p1">联系人:</span> <span class="sp_p2"><input type="text" name="lastname" value="<?php echo ($member["name"]); ?>" placeholder="输入收件人姓名" required/></span></li>
	               <li><span class="sp_p1">电话:</span> <span class="sp_p2"><input type="tel" name="phone" value="<?php echo ($member["tel"]); ?>" placeholder="请输入手机号码" required/></span></li>
	               <li>
	                <?php echo W('Shengshi',array('now_city_id'=>$infoList['citycode'],'now_prov_id'=>$infoList['provcode'],'now_area_id'=>$infoList['area_id']));?>
	               </li>
	               <li style="height: 35px;"><span class="sp_p1">详细地址:</span></li>
	               <li style="height: 35px;"><span class="sp_p1"><input type="text" name="address_2" value="<?php echo ($member["address"]); ?>" placeholder="输入详细的收货地址" required/></span></li>
	               <li id="sub"><input type="submit" value="保存信息" /></li>
	            </ul>
        	</form>
            
        </div>
   </div>
</div>
<script>
$(function(){
    if('<?php echo ($msg); ?>'!='0'){
        alert('<?php echo ($msg); ?>');
    }
});
</script>
</body>
</html>